package com.ruoyi.pet.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 宠物驱虫记录对象 pet_deworming
 * 
 * @author ruoyi
 * @date 2023-09-01
 */
public class PetDeworming extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 驱虫记录ID */
    private Long id;

    /** 宠物ID */
    @Excel(name = "宠物ID")
    private Long petId;

    /** 驱虫日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "驱虫日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dewormingDate;

    /** 驱虫类型 */
    @Excel(name = "驱虫类型")
    private String dewormingType;

    /** 下次驱虫日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下次驱虫日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date nextDewormingDate;

    /** 备注 */
    @Excel(name = "备注")
    private String notes;

    /** 驱虫价格 */
    @Excel(name = "驱虫价格")
    private BigDecimal price;

    /** 负责人 */
    @Excel(name = "负责人")
    private String responsiblePerson;

    /** 记录创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 记录更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPetId(Long petId) 
    {
        this.petId = petId;
    }

    public Long getPetId() 
    {
        return petId;
    }
    public void setDewormingDate(Date dewormingDate) 
    {
        this.dewormingDate = dewormingDate;
    }

    public Date getDewormingDate() 
    {
        return dewormingDate;
    }
    public void setDewormingType(String dewormingType) 
    {
        this.dewormingType = dewormingType;
    }

    public String getDewormingType() 
    {
        return dewormingType;
    }
    public void setNextDewormingDate(Date nextDewormingDate) 
    {
        this.nextDewormingDate = nextDewormingDate;
    }

    public Date getNextDewormingDate() 
    {
        return nextDewormingDate;
    }
    public void setNotes(String notes) 
    {
        this.notes = notes;
    }

    public String getNotes() 
    {
        return notes;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setResponsiblePerson(String responsiblePerson) 
    {
        this.responsiblePerson = responsiblePerson;
    }

    public String getResponsiblePerson() 
    {
        return responsiblePerson;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("petId", getPetId())
            .append("dewormingDate", getDewormingDate())
            .append("dewormingType", getDewormingType())
            .append("nextDewormingDate", getNextDewormingDate())
            .append("notes", getNotes())
            .append("price", getPrice())
            .append("responsiblePerson", getResponsiblePerson())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
